all: ball ball_cuda

ball:
	@echo 	
	@echo Building test servert: ball detect
	g++ `pkg-config --cflags opencv` `pkg-config --libs opencv` -g3 -o test detect_ball.cpp 

ball_cuda:
	@echo 	
	@echo Building test-cuda servert: ball detect
	g++ -Iinclude -I/home/tim/opencv/include/ -I/home/tim/opencv/include/opencv -L/home/tim/opencv/lib -lopencv_core -lpng12 -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lhighgui -lcvaux -lcv -lml -lcxcore -g3 -o test_cuda detect_ball.cpp
